package org.budo.mongo.jdbc.driver.util;

import com.mongodb.util.JSON;

/**
 * @author lmw
 */
public class JsonUtil {
    public static Object fromJsom(String jsonString) {
        return JSON.parse(jsonString);
    }

    public static String toJson(Object object) {
        return JSON.serialize(object);
    }
}